From a1dd82023178b4d452b509931b6eac2c60f60384 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Sat, 7 May 2016 17:35:22 +0200 Subject: [PATCH] Refresh patches --- debian/patches/clean-win-crates.patch | 26 -------------------------- debian/patches/libgit2-fixes.patch | 6 +++--- 2 files changed, 3 insertions(+), 29 deletions(-) diff --git a/debian/patches/clean-win-crates.patch b/debian/patches/clean-win-crates.patch index 05e519f5c..e9e9f005b 100644 --- a/debian/patches/clean-win-crates.patch +++ b/debian/patches/clean-win-crates.patch @@ -17,29 +17,3 @@ Forwarded: not-needed rustc-serialize = { version = "0.3", optional = true } [dev-dependencies] ---- a/deps/filetime-0.1.8/Cargo.toml -+++ b/deps/filetime-0.1.8/Cargo.toml -@@ -14,8 +14,8 @@ - - [dependencies] - libc = "0.2" --kernel32-sys = "0.2" --winapi = "0.2" -+#kernel32-sys = "0.2" -+#winapi = "0.2" - - [dev-dependencies] - tempdir = "0.3" ---- a/deps/filetime-0.1.8/src/lib.rs -+++ b/deps/filetime-0.1.8/src/lib.rs -@@ -35,8 +35,8 @@ - //! ``` - - extern crate libc; --extern crate winapi; --extern crate kernel32; -+#[cfg(windows)] extern crate winapi; -+#[cfg(windows)] extern crate kernel32; - - #[cfg(unix)] use std::os::unix::prelude::*; - #[cfg(windows)] use std::os::windows::prelude::*; diff --git a/debian/patches/libgit2-fixes.patch b/debian/patches/libgit2-fixes.patch index 050b64420..f38af1046 100644 --- a/debian/patches/libgit2-fixes.patch +++ b/debian/patches/libgit2-fixes.patch @@ -1,9 +1,9 @@ Fromm: Luca Bruno Description: Misc fixes to build libgit2-sys Forwarded: not-needed ---- a/deps/libgit2-sys-0.3.8/build.rs -+++ b/deps/libgit2-sys-0.3.8/build.rs -@@ -75,7 +75,6 @@ +--- a/deps/libgit2-sys-0.4.0/build.rs ++++ b/deps/libgit2-sys-0.4.0/build.rs +@@ -97,7 +97,6 @@ cfg.define("USE_OPENSSL", "OFF"); } -- 2.30.2